<?php

class Quick_Tip extends Model {
	
	function Quick_Tip()
	{
		parent::Model();
	}

	function random_tip()
	{
		$query = $this->db->query('SELECT `TipDescription` FROM `QuickTip` ORDER BY RAND() LIMIT 1');
		return $query->row_array();
	}
}

?>
